package tp.model;

import java.util.ArrayList;

public class Ville {

	private String nom;
	private String gare;
	
	public Ville()
	{
		this("","");
	}
	public Ville(String nom, String gare) {
		this.nom = nom;
		this.gare = gare;
	}

	public String getNom() {
		return this.nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getGare() {
		return this.gare;
	}

	public void setGare(String gare) {
		this.gare = gare;
	}
	
	public String toString()
	{
		return nom+"  : "+gare; 
	}

}